﻿

@using WebApp.Models
@model RegisterViewModel
@{
    Layout = "~/Views/Shared/_LoginLayout.cshtml";
    ViewBag.Title = "Register";
}

<div class="container">
    <div class="row vertical-offset-100">
        <div class="col-md-4 col-md-offset-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">Create a new account.</h3>
                </div>
                <div class="panel-body">

                    @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = " ", role = "form" }))
                    {
                        @Html.AntiForgeryToken()
                       
                        @Html.ValidationSummary("", new { @class = "text-danger"  })
    <fieldset>
        <div class="form-group">
           
                @Html.TextBoxFor(m => m.Email, new { @class = "form-control", placeholder = "E-mail" })
            
        </div>
        <div class="form-group">
            
                @Html.PasswordFor(m => m.Password, new { @class = "form-control", placeholder = "Password" })
             
        </div>
        <div class="form-group">
             
                @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control", placeholder = "ConfirmPassword" })
         
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" class="btn btn-default" value="Register" />
            </div>
        </div>
        </fieldset>
        }
</div>
            </div>
        </div>
    </div>
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
